<template>
    <div class="header">
        <div class="content">
            <a class="logo" href="/">
                <img class="header-arrow-down" src="https://img01.yzcdn.cn/yun-web/pc_logo_blue.png">
            </a>
            <div class="search">
                <div class="search-input">
                    <input class="search-input-content" type="text" placeholder="输入关键词搜索">
                    <div class="btn">搜索</div>
                </div>
                <div class="search-keywords">


                    <div class="search-keywords-item">
                        <a class="keywords" target="_blank"
                            href="//doc.youzanyun.com/doc#/search?keyword=调试工具&amp;source=1">调试工具</a>
                    </div>

                    <div class="search-keywords-item">
                        <a class="keywords" target="_blank"
                            href="//doc.youzanyun.com/doc#/search?keyword=保证金&amp;source=1">保证金</a>
                    </div>

                    <div class="search-keywords-item">
                        <a class="keywords" target="_blank"
                            href="//doc.youzanyun.com/doc#/search?keyword=授权&amp;source=1">授权</a>
                    </div>

                    <div class="search-keywords-item">
                        <a class="keywords" target="_blank"
                            href="//doc.youzanyun.com/doc#/search?keyword=店铺类型说明&amp;source=1">店铺类型说明</a>
                    </div>


                </div>
            </div>
            <div class="header-content">

                <div class="header-item login">
                    <a class="title1" href="/login">登录</a>
                </div>
                <div class="header-item register">
                    <a class="title2"
                        href="/registered">注册</a>
                </div>

            </div>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.title2 {

    display: inline-block;
    width: 70px;
    height: 34px;
    line-height: 34px;
    margin-top: 17px;
    border-radius: 2px;
    background: #2b90ed;
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-size: 14px;

}

.title1 {
    height: 68px;
    line-height: 68px;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    color: currentColor;
    font-weight: 400;
        font-size: 14px;

}

.header {


    min-width: 1200px;
    width: 100%;

    .content {
        height: 104px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
        width: 1200px;
        min-width: 1200px;
        margin: 0 auto;

        img {

            height: 20px;
            width: 94px;
            display: inline-block;
        }

        .search {
            height: 40px;
            overflow: hidden;
            margin-left: 50px;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-align: center;
            align-items: center;

            .search-input {
                height: inherit;
                display: -ms-flexbox;
                display: flex;
                border-radius: 4px;
                overflow: hidden;
                margin-right: 4px;

                input {
                    width: 370px;
                    font-size: 14px;
                    border-top-right-radius: 0;
                    border-bottom-right-radius: 0;
                    padding-left: 20px;
                    background: #f7f8fa;
                    border: 0;
                    box-sizing: border-box;
                    outline: none;
                    line-height: inherit;
                    color: inherit;
                }

                .btn {
                    width: 70px;
                    height: inherit;
                    line-height: 40px;
                    background: #155bd4;
                    color: #fff;
                    font-size: 16px;
                    border-radius: 0;
                    text-align: center;
                }
            }

            .search-keywords {

                display: flex;

                .search-keywords-item {
                    margin-left: 12px;

                    .keywords {
                        font-size: 12px;
                        color: #969799;
                        line-height: 18px;
                    }
                }
            }
        }

        .header-content {
            position: absolute;
            right: 0;
            display: -ms-flexbox;
            display: flex;

            .header-item {
                position: relative;
                padding: 0 15px;

                .login {
                    margin-left: 30px;


                }



            }

        }
    }
}
</style>